ver=$(emacs --version|head -n1|cut -d' ' -f3|cut -d'.' -f1)
ln -s $(pwd)/emacs.${ver}  ~/.emacs
ln -s $(pwd)/emacs.d.${ver} ~/.emacs.d
cat >> ~/.bashrc <<EOF
alias e.kill="ps aux | grep 'emacs --daemon' |grep  -v grep|awk '{print $2}'|xargs kill -15"
alias e='emacsclient -nw -a "" -r'
EOF
